ALTER TABLE ProximityRadius
ADD IsCustomRate bit not null default(0)
GO
ALTER PROCEDURE [dbo].[spProximityRadius_Update]
(
	@ProximityRadiusId INT,
	@FromRadius INT,
	@ToRadius INT,
	@RatePerPush MONEY,
	@FixedCost MONEY,
	@IsCustomRate BIT
)
AS

BEGIN
	SET NOCOUNT ON

	UPDATE ProximityRadius
	SET FromRadius = @FromRadius, ToRadius = @ToRadius, RatePerPush = @RatePerPush, 
		FixedCost = @FixedCost, IsCustomRate = @IsCustomRate
	WHERE (ProximityRadiusId = @ProximityRadiusId)
END
GO
